package com.demo.passenger.hotel.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.demo.passenger.hotel.entity.HotelInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 旅店信息表 服务类
 * </p>
 *
 * @author weifucheng
 * @since 2019-07-13
 */
public interface IHotelInfoService extends IService<HotelInfo> {

    public List<HotelInfo> listByParams(Page<HotelInfo> page, HotelInfo HotelInfo);

    public List<HotelInfo> listByParams(HotelInfo HotelInfo);

    public Page<HotelInfo> listByParams(HotelInfo hotelInfo, Integer current, Integer size);


    List<HotelInfo> listAllSortByCreateTime();
}
